package com.xiaolin.designmode.observer;

/**
 * @ClassName ConcreteSubject
 * @Description 具体主题角色
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/7
 * @Version 1.0
 */
public class ConcreteSubject extends Subject {
    @Override
    public void notifyObserver() {
        System.out.println("具体目标发送变化。。");
        for (Observer observer : observers) {
            observer.response();
        }
    }
}
